package test;

import java.util.List;

import org.junit.Test;

import com.yunhe.dao.YongHuDao;
import com.yunhe.dao.Impl.YongHuDaoImpl;
import com.yunhe.entity.YongHu;

public class dome1 {
	@Test
	public void getAll(){
		YongHuDao yhd = new YongHuDaoImpl();
		List<YongHu> list = yhd.getAll();
		for (YongHu yongHu : list) {
			System.out.println(yongHu.getId()+","+yongHu.getUsername());
		}
	}
}
